package com.lex.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/6/15.
 */
public class ContactEntity {
    private String name;
    private List<String> phoneNums;
    private List<String> emails;
    private String address;

    public ContactEntity(String name,String phoneNum) {
        this.name = name;
        List<String>phoneNums = new ArrayList<>();
        phoneNums.add(phoneNum);
        this.phoneNums = phoneNums;
    }

    public ContactEntity(String name, List<String> phoneNums, List<String>emails, String address){
        this.name = name;
        this.phoneNums = phoneNums;
        this.emails = emails;
        this.address = address;

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getPhoneNums() {
        return phoneNums;
    }

    public void setPhoneNums(List<String> phoneNums) {
        this.phoneNums = phoneNums;
    }

    public List<String> getEmails() {
        return emails;
    }

    public void setEmails(List<String> emails) {
        this.emails = emails;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
